package com.android.webrtcsdkdev

import android.Manifest
import android.app.Activity
import android.content.Intent
import android.content.pm.PackageManager
import android.net.Uri
import android.os.Build
import android.os.Bundle
import android.os.Environment
import android.os.PowerManager
import android.provider.Settings
import android.util.Log
import android.view.View
import android.widget.AdapterView
import android.widget.Button
import android.widget.EditText
import android.widget.Spinner
import android.widget.TextView
import android.widget.Toast
import androidx.core.app.ActivityCompat


class ChoseStreamActivity : Activity() {


    private var bt_stream: Button? = null
    private var bt_group_control: Button? = null



    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_chose_stream)
        bt_stream= findViewById(R.id.bt_stream)
        bt_group_control= findViewById(R.id.bt_group_control)

        bt_stream!!.setOnClickListener {
            val intent = Intent()
            intent.setClass(
                this@ChoseStreamActivity,
                SettingStreamActivity::class.java
            )
            startActivity(intent)
        }

        //群控会话
        bt_group_control!!.setOnClickListener {
            val intent = Intent()
            intent.setClass(
                this@ChoseStreamActivity,
                GroupControlStreamActivity::class.java
            )
            startActivity(intent)
        }


    }

}
